package nc.impl.cmp;

import nc.impl.pub.ace.AceReceibillPubServiceImpl;
import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.cmp.receibillkk.AggReceibill;
import nc.itf.cmp.IReceibillMaintain;
import nc.vo.pub.BusinessException;

public class ReceibillMaintainImpl extends AceReceibillPubServiceImpl
		implements IReceibillMaintain {

	@Override
	public void delete(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		super.pubdeleteBills(clientFullVOs, originBills);
	}

	@Override
	public AggReceibill[] insert(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		return super.pubinsertBills(clientFullVOs, originBills);
	}

	@Override
	public AggReceibill[] update(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		return super.pubupdateBills(clientFullVOs, originBills);
	}

	@Override
	public AggReceibill[] query(IQueryScheme queryScheme)
			throws BusinessException {
		return super.pubquerybills(queryScheme);
	}

	@Override
	public AggReceibill[] save(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		return super.pubsendapprovebills(clientFullVOs, originBills);
	}

	@Override
	public AggReceibill[] unsave(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		return super.pubunsendapprovebills(clientFullVOs, originBills);
	}

	@Override
	public AggReceibill[] approve(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		return super.pubapprovebills(clientFullVOs, originBills);
	}

	@Override
	public AggReceibill[] unapprove(AggReceibill[] clientFullVOs,
			AggReceibill[] originBills) throws BusinessException {
		return super.pubunapprovebills(clientFullVOs, originBills);
	}

    @Override
    public AggReceibill[] insert_RequiresNew(AggReceibill[] clientFullVOs, AggReceibill[] originBills)
        throws BusinessException {

        return this.insert(clientFullVOs, originBills);
    }
}
